import Action from './Action'

export default class ImUser extends Action {
    columns: any
    columnAdd: Array<{ key: string; type: string }>
	constructor() {
		super()
		this.tableName = 'im_user'

		this.columns = {
			id: "BIGINT(20) PRIMARY KEY NOT NULL",//用户ID
            headpic: "TEXT", //头像
            name: "VARCHAR(64)",//昵称
			type: "INT(2)" //用户类型
		}

		this.columnAdd = [
			{key: 'update_time', type: 'datetime DEFAULT NULL'}
		]
	}

}
